//
//  PopWindow.m
//  CarTown
//
//  Created by xionghao on 15/8/11.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "PopWindow.h"

@interface PopWindow()

@property (nonatomic,retain) NSArray *items;
@property (nonatomic,retain) UIButton *backbutton;
@end

@implementation PopWindow

-(instancetype)initWithFrame:(CGRect)frame andItems:(NSArray *)items{
   self = [super initWithFrame:frame];
    if (self) {
        self.items=items;
        UIButton *backbutton=[[UIButton alloc]init];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
